<style type="text/css">
	.white-popup h2{background:#ededed;color:#ec6b18;font-size:24px;text-align: center;padding:0;margin:0;height:60px;line-height: 60px;border-radius: 10px;}
</style>
<div id="frm-post-popup" class="white-popup" style="max-width: 745px;border-radius: 10px;padding:0;">
    <button title="Close (Esc)" type="button" class="mfp-close" style="color: #ec6b18;">×</button>
    <h2>报名</h2>

    <div>
        <div class="row" style="padding:10px;">
            <div class="col-xs-6" style="padding-left: 50px;">
            	<p>
	            <div class="info_title">活动时间：</div>
	            {:date('Y-m-d',$content['sTime'])}--{:date('Y-m-d',$content['eTime'])}</p>
	            <p>
	            <div class="info_title">截止时间：</div>
	            {:date('Y-m-d H:i',$content['deadline'])}</p>
	            <p>
	            <div class="info_title">{:L('_NUMBER_LIMIT_')}{:L('_COLON_')}</div>
	            {$content.limitCount} 人</p>
            </div>
            <div class="col-xs-6">
            	<p>
	            <div class="info_title">已报名人数：</div>
	            {$content.attentionCount} 人</p>
	            <p>
	            <div class="info_title">剩余人数：</div>
	            {$content['limitCount']-$content['attentionCount']} 人</p>
	            <p>
	
	            <div class="info_title">活动地点：</div>
	            {$content.address}</p>
            </div>
            


            <div class="col-xs-12" style="padding:20px 40px 20px 80px;">
                <form class="form-horizontal  ajax-form" role="form" action="{:U('Event/Index/doSign')}" method="post">
                    <div class="form-group has-feedback">
                        <label for="name" class="col-sm-2 control-label">{:L('_COMPELLATION_')}</label>

                        <div class="col-sm-10">
                            <input id="name" name="name" type="" class="form-control form_check" check-type="Text"  value="" placeholder="{:L('_PLACEHOLDER_NAME_')}"/>
                            <input id="event_id" name="event_id" type="hidden" class="form-control"
                                   value="{$content.id}"/>
                        </div>

                    </div>
                    <div class="form-group has-feedback">
                        <label for="phone" class="col-sm-2 control-label">{:L('_PHONE_')}</label>

                        <div class="col-sm-10">
                            <input id="phone" name="phone" type="" class="form-control form_check" check-type="Phone"  value="" placeholder="{:L('_PLACEHOLDER_CONTACT_')}"/>
                        </div>

                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-4 col-sm-6">
                            <button type="submit" style="border:none;background:#EC6914;color:#fff;padding:6px 40px;font-size:12px;" href="{:U('Event/Index/doSign')}">提交申请</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<link href="__CORE_CSS__/form_check.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__CORE_JS__/form_check.js"></script>